
// 获取应用实例
const app = getApp()

Page({
  // data: {
  //   catelist:["男装","女装","零食","家电","床上用品","家具"],
  //   banner:[
  //    {url: "../../images/banner1.jpg"},
  //    {url: "../../images/banner2.jpg"},
  //    {url: "../../images/banner3.jpg"}
   
  //   ],
  //   danmulist:[{
  //     text:"湖南网络工程职业学院",
  //     color:"#ff0000",
  //     time:2
  //   },
  //   {
  //     text:"信息学院",
  //     color:"#ff0000",
  //     time:3
  //   }
  //   ]
  // },
  onReady(e){
    this.audioCtx = wx.createAudioContext('myAudio')
  },
  data :{
    // name:'许巍',
    //  src="http://anli-wechat.boruiman.com/static/music/music.mp3",
    audioPlay(){
      this.audioPlay()
    },
    audioPause(){
      this.audioCtx.Pause()
    },
    audio14(){
      this.audioCtx.seek(14)
    },
    audioStart(){
      this.audioCtx.seek(0)
    }
  },
 
  onLoad() {
   
  },
})